<?php

/***
 * 安心站长axzz.cn，一个追求技术创造者。让网站、小程序、APP、应用程序牛起来……
 *
 * cighsen02 365182575
 * 
 * Create at: 2024.05.01
 * Update at: 2025.08.31
 */

namespace Twoir\System\Model;

use Twoir\System\Support\ParseTrait;
use Twoir\System\Support\SingleTrait;

/***
 * 会员组表
 *
 * 【注意事项】有增减字段，请更新 字段：FIELD和默认值：MYDEFAULT，没有更新请勿动！！！
 */
class EnewsMemberGroup
{
    use ParseTrait, SingleTrait;

    const TABLE = 'enewsmembergroup';

    // 主键字段
    const PRIMARY = 'groupid';

    // 字段
    const FIELD = [
        'groupid','groupname','level','checked','favanum','daydown','msglen','msgnum','canreg','formid','regchecked','spacestyleid','dayaddinfo','infochecked','plchecked'
    ];

    /**
     * 默认值， null为自动增加字段
     */
    const MYDEFAULT = [
        'groupid'		=> null,
        'groupname'		=> '',
        'level'			=> 0,
        'checked'		=> 0,
        'favanum'		=> 0,
        'daydown'		=> 0,
        'msglen'		=> 0,
        'msgnum'		=> 0,
        'canreg'		=> 0,
        'formid'		=> 0,
        'regchecked'	=> 0,
        'spacestyleid'	=> 0,
        'dayaddinfo'	=> 0,
        'infochecked'	=> 0,
        'plchecked'		=> 0
    ];

    // 执行mysql置后
    protected static $low_priority = false;
}
